﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.Master" AutoEventWireup="true" CodeBehind="ReportView.aspx.cs" Inherits="ESCHOOL.admin.WebForm24" Title="Report View" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style3
        {
            width: 100%;
        }
        .style4
        {
            width: 151px;
        }
        .style5
        {
            width: 147px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        <br />
    </p>
    <table class="style3">
        <tr>
            <td class="style5">
                Select Examination</td>
            <td class="style4">
                <asp:DropDownList ID="ddxams" runat="server" 
                    onselectedindexchanged="ddxams_SelectedIndexChanged">
                    <asp:ListItem Value="annual">Annual</asp:ListItem>
                    <asp:ListItem>Quarterly</asp:ListItem>
                    <asp:ListItem Value="half Yearly">Half Yearly</asp:ListItem>
                    <asp:ListItem Value="three Monthly">Three Monthly</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style5">
                Select Class</td>
            <td class="style4">
                <asp:DropDownList ID="ddclasses" runat="server" 
                    onselectedindexchanged="ddclasses_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style5">
                &nbsp;</td>
            <td class="style4">
                <asp:Button ID="btnview" runat="server" onclick="btnview_Click" Text="View" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    onpageindexchanging="GridView1_PageIndexChanging">
                    <Columns>
                        <asp:BoundField DataField="examination" HeaderText="Examination" />
                        <asp:BoundField DataField="class_name" HeaderText="Class" />
                        <asp:BoundField DataField="student_name" HeaderText="student Name" />
                        <asp:BoundField DataField="subject_name" HeaderText="Subject" />
                        <asp:BoundField DataField="total_maxmarks" HeaderText="Total Marks" />
                        <asp:BoundField DataField="total_obtmarks" HeaderText="Total Obtained marks" />
                        <asp:BoundField DataField="percentage" HeaderText="Percentage" />
                        <asp:BoundField DataField="grade" HeaderText="Grade" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td class="style4" colspan="2">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
